<?
assert('$var_neighbors instanceof Yz_List');
$itemName = $var_neighbors->valueType();
$itemName = $itemName::_name_();
list($prevItem, $nextItem) = $var_neighbors->toArray();
?>
        <div class="yz-prev-item">
            <? if ($prevItem) { ?>
            <a href="<?= $var_YzModuleHref ?>entry/<?= $prevItem->id ?>"><?= $this->translate(":{$itemName}:Previous") ?>:
                <?= $prevItem->title ?></a>
            <? } ?>
        </div>
        <div class="yz-next-item">
            <? if ($nextItem) { ?>
            <a href="<?= $var_YzModuleHref ?>entry/<?= $nextItem->id ?>"><?= $this->translate(":{$itemName}:Next") ?>:
                <?= $nextItem->title ?></a>
            <? } ?>
        </div>
